package com.maoyan.quickdevelop.common.core.domain.postprocessor;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 猫颜
 * @date 2021年08月01日 上午7:08
 * 查询特供增强器
 * 查询不看注解，只看驼峰的命名，否则查询不了
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DqInterviewPostProcesser implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "inter_id")
    private Long interId;

    @TableField(value = "inter_title")
    private String interTitle;

    @TableField(value = "inter_category")
    private String interCategory;

    @TableField(value = "inter_image")
    private String interImage;

    @TableField(value = "inter_info")
    private String interInfo;

    @TableField(value = "inter_technology")
    private String interTechnology;

    @TableField(value = "inter_phone")
    private String interPhone;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    /**
     * 作者ID
     **/
    @TableField(value = "author_id")
    private Long authorId;

    /**
     * 作者的昵称
     **/
    @TableField(value = "author_nickname")
    private String authorNickname;

    /**
     * 作者的用户名
     **/
    @TableField(value = "author_username")
    private String authorUsername;
    /**
     * 作者id
     **/
    @TableField(value = "user_id")
    private Long userId;
    /**
     * 作者用户名
     **/
    @TableField(value = "user_name")
    private String userName;
    /**
     * 作者昵称
     **/
    @TableField(value = "nick_name")
    private String nickName;
    /**
     * 作者邮箱
     **/
    @TableField(value = "email")
    private String email;
    /**
     * 作者手机号
     **/
    @TableField(value = "phone_number")
    private String phoneNumber;
    /**
     * 作者头像
     **/
    @TableField(value = "avatar")
    private String avatar;





    @TableField(value = "inter_type")
    private String interType;
    @TableField(value = "inter_address")
    private String interAddress;
    @TableField(value = "inter_money")
    private String interMoney;

}
